package com.zg.autoflow.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
* @author zg
*/
@Data
@ApiModel(value = "新增固有字段信息", description = "新增固有字段信息")
public class AutoflowInherentFieldsAddInfoReq {
    /**
     * 固有字段分组id
     */
    @ApiModelProperty(value = "固有字段分组id")
    @NotBlank(message = "固有字段分组id不能为空")
    private Long inherentId;

    @ApiModelProperty(value = "固有字段信息")
    @NotEmpty(message = "固有字段信息不能为空")
    private List<AutoflowInherentFieldsAddReq> fields;

}
